package gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import javax.swing.JTextField;
import javax.swing.border.TitledBorder;

public class Customer extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Customer frame = new Customer();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Customer() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 800, 600);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBorder(new TitledBorder(null, "Kunde", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel.setBounds(36, 29, 349, 242);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblKunde = new JLabel("Kunde");
		lblKunde.setBounds(22, 36, 46, 14);
		panel.add(lblKunde);
		lblKunde.setHorizontalAlignment(SwingConstants.RIGHT);
		
		textField = new JTextField();
		textField.setBounds(92, 33, 156, 20);
		panel.add(textField);
		textField.setColumns(10);
		
		JLabel lblAdresse = new JLabel("Adresse");
		lblAdresse.setBounds(22, 64, 46, 14);
		panel.add(lblAdresse);
		lblAdresse.setHorizontalAlignment(SwingConstants.RIGHT);
		
		textField_1 = new JTextField();
		textField_1.setBounds(92, 61, 156, 20);
		panel.add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(92, 101, 156, 20);
		panel.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblPostnr = new JLabel("Postnr");
		lblPostnr.setBounds(22, 104, 46, 14);
		panel.add(lblPostnr);
		lblPostnr.setHorizontalAlignment(SwingConstants.RIGHT);
		
		JLabel lblBy = new JLabel("By");
		lblBy.setBounds(22, 135, 46, 14);
		panel.add(lblBy);
		lblBy.setHorizontalAlignment(SwingConstants.RIGHT);
		
		textField_3 = new JTextField();
		textField_3.setBounds(92, 133, 156, 20);
		panel.add(textField_3);
		textField_3.setColumns(10);
		
		JLabel lblTlfnr = new JLabel("Tlf.nr");
		lblTlfnr.setHorizontalAlignment(SwingConstants.RIGHT);
		lblTlfnr.setBounds(22, 166, 46, 14);
		panel.add(lblTlfnr);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(92, 164, 156, 20);
		panel.add(textField_4);
		
		JLabel lblEmail = new JLabel("Email");
		lblEmail.setHorizontalAlignment(SwingConstants.RIGHT);
		lblEmail.setBounds(22, 193, 46, 14);
		panel.add(lblEmail);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(92, 191, 156, 20);
		panel.add(textField_5);
	}
}
